<%@ page language="java" contentType="text/html; charset=utf-8"  isELIgnored="false"  pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<% 
	String path = request.getContextPath(); 
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 
%> 
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>配置</title>
<link type="text/css" href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link type="text/css" href="css/toastr.css" rel="stylesheet">
<!-- <link type="text/css" href="css/index.css" rel="stylesheet"> -->
<link href="css/vis.min.css" rel="stylesheet" type="text/css">
<!--通用颜色样式-->
<link href="css/color.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="echarts/echarts.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/toastr.min.js"></script>
<script type="text/javascript" src="js/vis.min.js"></script>
<style type="text/css">
	div{
		margin: 0;
		padding: 0;
		color:white;
	}
	h4 {
		position:relative ;
		top:-50px;
		z-index:9999;
		font-weight: bold;
	}
	.tcmNum{
		float:right;
		background-color: #EBD775;
		width:40px;
		height:70px;
		margin-right: 10px;
	}
	.docNum{
		color: #EBD775;
		float:left;
		width:20px;
		height:50px;
		margin-left: 5px;
	}
	.tcma {
		 font-size:55px;
	}
	.doca {
		 font-size:40px;
		 color: #EBD775;
	}
</style>
</head>
<body>
	<audio id="warnMusic">
  		<source src="mp3/warnning.mp3" type="audio/mpeg">
	</audio>
	<div style="width: 1920px;height:1080px;background-color: #121F50;">
	<div style="width: 1920px;height:1080px; text-align: center;">
		<div style="background-image: url('image/lefttop.png');width: 185px;height: 180px;background-repeat: no-repeat; background-size: 100% 100%;float:left;position: absolute;top: 0px;"></div>
		<div style="background-image: url('image/righttop.png');width: 185px;height: 180px;background-repeat: no-repeat; background-size: 100% 100%;float:right;position: absolute;left: 1735px;top: 0px;"></div>
		<div style="width: 1920px;">
			<div style="background-image: url('image/headleft.png');width: 180px; height: 35px;background-repeat: no-repeat; background-size: 100% 100%;position: absolute;top: 36px;left: 604px"></div>
			<h2 style="position: absolute;top: 18px;left: 816px;" >中医馆系统监控配置 </h2>
			<div style="background-image: url('image/headright.png');width: 180px; height: 35px;background-repeat: no-repeat; background-size: 100% 100%;position: absolute;top: 36px;left: 1116px"></div>
		</div>
		<form class="form-horizontal" action="Threshold/ChangeThreshold" method="post">
		<div id="left" style="width:581px;text-align: center;height: 962px;float: left;position: absolute;left: 80px;top: 200px">
			<div style="height: 20px"></div>
			<div id="left_1" style="border-style: solid; border-width: 32px 37px; border-image-slice: 32 37 fill; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial; background: none;border-image-source:url('image/kuang.png');height: 500px">
				<h4 align="center" style="color:#EBD775">系统资源</h4>
					  <div class="form-group">
					    <div class="col-sm-1">
					  	</div>
					    <label for="inputEmail3" class="col-sm-3 control-label">CPU占用</label>
					    <div class="col-sm-7">
					      <input type="number" class="form-control" id="cpuUsed" placeholder="${threshold.cpuUsed}" name="cpuUsed" min="0" max="100">
					    </div>
					    <div class="col-sm-1">
					  	</div>
					  </div>
					  <div class="form-group">
					  	<div class="col-sm-1">
					  	</div>
					    <label for="inputPassword3" class="col-sm-3 control-label">IO等待比例</label>
					    <div class="col-sm-7">
					      <input type="number" class="form-control" id="cpuIowait" placeholder="${threshold.cpuIowait}" name="cpuIowait" min="0" max="100">
					    </div>
					   <div class="col-sm-1">
					  	</div>
					  </div>
					    <div class="form-group">
					  	<div class="col-sm-1">
					  	</div>
					    <label for="inputPassword3" class="col-sm-3 control-label">内存占用</label>
					    <div class="col-sm-7">
					      <input type="number" class="form-control" id="memUsed" placeholder="${threshold.memUsed}" name="memUsed" min="0" max="100">
					    </div>
					   <div class="col-sm-1">
					  	</div>
					  </div>
					    <div class="form-group">
					  	<div class="col-sm-1">
					  	</div>
					    <label for="inputPassword3" class="col-sm-3 control-label">SWAP占用</label>
					    <div class="col-sm-7">
					      <input type="number" class="form-control" id="swapUsed" placeholder="${threshold.swapUsed}" name="swapUsed" min="0" max="100">
					    </div>
					   <div class="col-sm-1">
					  	</div>
					  </div>
					    <div class="form-group">
					  	<div class="col-sm-1">
					  	</div>
					    <label for="inputPassword3" class="col-sm-3 control-label">磁盘占用</label>
					    <div class="col-sm-7">
					      <input type="number" class="form-control" id="diskUsed" placeholder="${threshold.diskUsed}" name="diskUsed" min="0" max="100">
					    </div>
					   <div class="col-sm-1">
					  	</div>
					  </div>
			</div>
		</div>
		<div id='center' style="width:581px;text-align: center;height: 962px;float: left;position: absolute;left: 670px;top: 200px">
			<div style="height: 20px"></div>
			<div id="center_1" style="border-style: solid; border-width: 32px 37px; border-image-slice: 32 37 fill; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial; background: none;border-image-source:url('image/kuang.png');height: 500px">
				<h4 align="center" style="color:#EBD775">应用</h4>
					<div class="form-group">
					    <label for="inputEmail3" class="col-sm-4 control-label">TOMCATCPU占用</label>
					    <div class="col-sm-7">
					      <input type="number" class="form-control" id="tomcatCpuUsed" placeholder="${threshold.tomcatCpuUsed}" name="tomcatCpuUsed" min="0" max="100">
					    </div>
					    <div class="col-sm-1">
					  	</div>
					</div>
					<div class="form-group">
					    <label for="inputEmail3" class="col-sm-4 control-label">TOMCAT内存占用</label>
					    <div class="col-sm-7">
					      <input type="number" class="form-control" id="tomcatMemUsed" placeholder="${threshold.tomcatMemUsed}" name="tomcatMemUsed" min="0" max="100">
					    </div>
					    <div class="col-sm-1">
					  	</div>
					</div>
					<div class="form-group">
					    <label for="inputEmail3" class="col-sm-4 control-label">NGINXCPU占用</label>
					    <div class="col-sm-7">
					      <input type="number" class="form-control" id="nginxCpuUsed" placeholder="${threshold.nginxCpuUsed}" name="nginxCpuUsed" min="0" max="100">
					    </div>
					    <div class="col-sm-1">
					  	</div>
					</div>
					<div class="form-group">
					    <label for="inputEmail3" class="col-sm-4 control-label">NGINX内存占用</label>
					    <div class="col-sm-7">
					      <input type="number" class="form-control" id="nginxMemUsed" placeholder="${threshold.nginxMemUsed}" name="nginxMemUsed" min="0" max="100">
					    </div>
					    <div class="col-sm-1">
					  	</div>
					</div>
			</div>	
				<div class="row">
					<div class="col-sm-6">
					<div class="form-group">
					    <div class="col-sm-offset-9 col-sm-3">
					      <button type="submit" class="btn btn-primary btn-lg">提交</button>
					    </div>
					 </div>		
					</div>
					<div class="col-sm-6">
					  <div class="form-group">
					    <div class="col-sm-3">
					      <button type="reset" class="btn btn-default btn-lg">取消</button>
					    </div>
					  </div>
					
					</div>
				</div>
		</div>
		<div id='right' style="width:581px;text-align: center;height: 962px;float: left;position: absolute;left: 1260px;top: 200px">
			<div style="height: 20px"></div>
			<div id="right_1" style="border-style: solid; border-width: 32px 37px; border-image-slice: 32 37 fill; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial; background: none;border-image-source:url('image/kuang.png');height: 500px">
				<h4 align="center" style="color:#EBD775">数据库</h4>
						<div class="form-group">
					    <label for="inputEmail3" class="col-sm-4 control-label">MYSQLCPU占用</label>
					    <div class="col-sm-7">
					      <input type="number" class="form-control" id="mysqlCpuUsed" placeholder="${threshold.mysqlCpuUsed}" name="mysqlCpuUsed">
					    </div>
					    <div class="col-sm-1">
					  	</div>
					</div>
					<div class="form-group">
					    <label for="inputEmail3" class="col-sm-4 control-label">MYSQL内存占用</label>
					    <div class="col-sm-7">
					      <input type="number" class="form-control" id="mysqlMemUsed" placeholder="${threshold.mysqlMemUsed}" name="mysqlMemUsed">
					    </div>
					    <div class="col-sm-1">
					  	</div>
					</div>
					<div class="form-group">
					    <label for="inputEmail3" class="col-sm-4 control-label">ORACLETMPFS使用率</label>
					    <div class="col-sm-7"> 
					      <input type="number" class="form-control" id="oracleTmpfsUsed" placeholder="${threshold.oracleTmpfsUsed}" name="oracleTmpfsUsed">
					    </div>
					    <div class="col-sm-1">
					  	</div>
					</div>
					<div class="form-group">
					    <label for="inputEmail3" class="col-sm-4 control-label">ORACLE表空间使用率</label>
					    <div class="col-sm-7">
					      <input type="number" class="form-control" id="oracletablespaceused" placeholder="${threshold.oracletablespaceused}" name="oracletablespaceused">
					    </div>
					    <div class="col-sm-1">
					  	</div>
					</div>
			</div>
		</div>		
		</form>
		<div style="background-image: url('image/leftdown.png');width: 185px;height: 180px;background-repeat: no-repeat; background-size: 100% 100%;float:left;position: absolute;top:900px;"></div>
		<div style="background-image: url('image/rightdown.png');width: 185px;height: 180px;background-repeat: no-repeat; background-size: 100% 100%;float:right;position: absolute;top:900px;left:1735px"></div>
	</div>
</div>
</body>
	<!-- <script type="text/javascript" src="js/myjs/configure.js"></script> -->
</html>